def dayUP(df):
    dayup = 1
    for i in range(365):
       if i %7 in[1,2,3]:
           dayup=(dayup +1)%7
       elif i% 7 in[0,4,5,6]:
           dayup=(dayup*0.01+1)%7
       elif state ==unstudy:
           temp=0



